.Net Framework > v2.0.50727 > System > Web > Caching > Cache > Insert Insert(String,Object)
Insert(String,Object,CacheDependency)
Insert(String,Object,CacheDependency,DateTime,TimeSpan)
Insert(String,Object,CacheDependency,DateTime,TimeSpan,CacheItemPriority,CacheItemRemovedCallback)


Insert(String,Object)

Category
Method
Description
Inserts an item into the System.Web.Caching.Cache object with a cache key to reference its location, using default values provided by the System.Web.Caching.CacheItemPriority enumeration.
Type
void
Character
public
Parameters
NameTypeDescription
keyString
valueObject
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Insert(String,Object,CacheDependency)

Category
Method
Description
Inserts an object into the System.Web.Caching.Cache that has file or key dependencies.
Type
void
Character
public
Parameters
NameTypeDescription
keyString
valueObject
dependenciesCacheDependency
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Insert(String,Object,CacheDependency,DateTime,TimeSpan)

Category
Method
Description
Inserts an object into the System.Web.Caching.Cache with dependencies and expiration policies.
Type
void
Character
public
Parameters
NameTypeDescription
keyString
valueObject
dependenciesCacheDependency
absoluteExpirationDateTime
slidingExpirationTimeSpan
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Insert(String,Object,CacheDependency,DateTime,TimeSpan,CacheItemPriority,CacheItemRemovedCallback)

Category
Method
Description
Inserts an object into the System.Web.Caching.Cache object with dependencies, expiration and priority policies, and a delegate you can use to notify your application when the inserted item is removed from the Cache.
Type
void
Character
public
Parameters
NameTypeDescription
keyString
valueObject
dependenciesCacheDependency
absoluteExpirationDateTime
slidingExpirationTimeSpan
priorityCacheItemPriority
onRemoveCallbackCacheItemRemovedCallback
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database